﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CCH.DAO;

public partial class _1005 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!this.IsPostBack)
        {
            this.GridView1.DataBind();
        }    
    }

    protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
    {
        Response.Redirect("1005-1.aspx?res_no=" + e.CommandName);
    }

    protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        if (e.Row.RowType == DataControlRowType.DataRow)
        {
            if (e.Row.RowIndex % 2 != 0)
            {
                e.Row.Cells[0].CssClass = "dotline-gary";
                e.Row.Cells[1].CssClass = "dotline-gary";
                e.Row.Cells[2].CssClass = "dotline-gary";
                e.Row.Cells[3].CssClass = "dotline-gary";
            }
        }
    }
}